package com.bwie.service;

import com.bwie.pojo.Prod;
import com.baomidou.mybatisplus.extension.service.IService;
import com.bwie.pojo.ProdInfo;
import com.bwie.pojo.Type;
import com.bwie.utils.R;
import com.bwie.vo.ProdInfoVo;
import com.bwie.vo.ProdVo;
import com.bwie.vo.TypeVo;
import org.springframework.web.multipart.MultipartFile;

import java.util.List;

/**
* @author 陶仕豪
* @description 针对表【tb_prod(商品表)】的数据库操作Service
* @createDate 2025-07-19 09:43:21
*/
public interface ProdService extends IService<Prod> {

    R getProdList(ProdVo propVo);


    R getTypeList(TypeVo typeVo);

    R uploadFile(MultipartFile file);

    R addType(Type type);

    R deleteAll(List<Prod> prodList);

    R getTypeAll();

    R addProd(Prod prod);

    R getProdInfoList();

    R getProdById(Integer prodId);

    R getProdInfoListAll(ProdInfoVo prodInfoVo);

    R addProdInfo(ProdInfo prodInfo);
}
